package com.example.tkmapperdemo;

import tk.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
//这里应该用tk.mapper的包,而不是import org.mybatis.spring.annotation.MapperScan;
@MapperScan("com.example.tkmapperdemo.dao")
public class TkmapperDemoApplication {

	public static void main(String[] args) {
		SpringApplication.run(TkmapperDemoApplication.class, args);
	}

}
